<!doctype html>
<html>
<head>
    <title>列表页面</title>
    <?php $this->load->module('admin/index/page_header');?>
    <link href="<?php echo URLPRE;?>static/admin/css/font_icon.css" rel="stylesheet" />
</head>
<body>
<div id="mainContent" class="wrap">
    <div class="h_a">搜索</div>
    <div class="search_type cc mb10">
        <form action="<?php $form_url;?>" method="get">
            <div class="ul_wrap">
                <label>关键字：</label>
                <input type="text" class="input length_3" name="word"  value="<?php if(!empty($condition['word'])) echo $condition['word'] ;?>" placeholder='关键词'>
                <button class="btn" type="submit">搜索</button>
            </div>
        </form>
    </div>
    <div class="nav">
        <ul>
            <li class="current">
                <a href="javascript:;" class="current">响应消息列表</a>
            </li>
            <li>
                <a  href="<?php echo site_url('weixin/wresponse/keywords_list')?>">关键词列表</a>
            </li>
            <li>
                <a  class="icon-plus" href="<?php echo site_url('weixin/wresponse/add_keywords')?>">添加关键词</a>
            </li>
        </ul>
    </div>
    <div class="h_a">响应消息列表</div>
    <div id="content" class="table_full">

            <table>
                <tr>
                    <th style="width:2%;">ID</th>
                    <th style="width:4%;">消息来自</th>
                    <th style="width:4%;">内容</th>
                    <th style="width:4%;">添加时间</th>
                    <th style="width:4%;">操作</th>
                </tr>
                <?php foreach($response_array as $k=>$v):?>
                    <tr>
                    <td><?php echo $v['id'];?></td>
                    <td style="width:4%;"><?php echo $v['from_username'];?></td>
                    <td style="width:4%;"><?php echo $v['content'] ;?></td>
                    <td style="width:4%;"><?php echo $v['crts'] ;?></td>
                    <td style="width:4%" class="btn_min">
                        <a class="icon-remove-2 doDel" href="javascript:;" data-uri="<?php echo site_url('weixin/wresponse/delete_response_text?id='.$v['id']);?>">删除</a>
                    </td>
                </tr>
                <?php endforeach ;?>
            </table>
        <div class="page_nav">
            <?php echo $this->mypageclass->show(2); ?>
        </div>
    </div>
</div>

</body>
</html>